package org.liuhy.jbpm4.property
{
	import mx.containers.Canvas;
	import mx.containers.HBox;
	import mx.controls.Label;
	import mx.controls.TextInput;
	
	import org.liuhy.jbpm4.JbpmFlowPanel;
	
	public class ProcessProperty extends Canvas
	{
		private var _panel:JbpmFlowPanel=null;
		private var _lblTitle:Label = new Label;
		private var _txtTitle:TextInput = new TextInput;
		public function ProcessProperty(p_panel:JbpmFlowPanel)
		{
			
			this._panel = p_panel;
			var _vbox:HBox = new HBox();
			
			_lblTitle.text = "Process Name";
			_txtTitle.width = 200;
			_vbox.addChild(_lblTitle);
			_vbox.addChild(_txtTitle);
			this.addChild(_vbox);
		}
		public function get title():String{
			return _txtTitle.text;
		}
		public function set title(p_title:String):void{
			_txtTitle.text = p_title;
		}
	}
}